<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>已通过的对内招聘申请</title>
<script type="text/javascript" src="../static/easyui/jquery.min.js"></script>
<script type="text/javascript" src="../static/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="../static/easyui/locale/easyui-lang-zh_CN.js"></script>
<link rel="stylesheet" href="../static/easyui/themes/icon.css">
<link rel="stylesheet" href="../static/easyui/themes/metro-orange/easyui.css">
<style type="text/css">
    
</style>
</head>
<body>
   <script type="text/javascript">
        $(function(){
			//初始化表格
			$('#dnyitongguo').datagrid({
			    url:'dnreadyplancs',
			    columns:[[
					{field:'EMPID',width:250,title:'员工编号',align:'center'},
					{field:'EMPNAME',width:250,title:'员工姓名',align:'center'},
					{field:'DEPTNAME',width:250,title:'应聘部门',align:'center'},
					{field:'POTZW',width:250,title:'应聘职位',align:'center'},
					{field:'ALTSSTAT',width:250,title:'状态',align:'center'},
					{field:'caozuo',width:250,title:'操作',align:'center',formatter:open_formatter}
			    ]],
			    pagination:true,
			    pageNumber:1,
			    pageSize:10,
			    pageList:[10,20,30]
			});
			//查询按钮
			$("#dnyitouguo_anniu").click(function(){
				var sosuokuang=$("#dnyitongguo_kuang").val();
				$("#dnyitongguo").datagrid("load",{
					w:sosuokuang
				})
			})
			
		});
        function open_formatter(value,rows,index){
        	return ("<span onclick='dahui()' class='dahui'>打回申请</span>")
        }
        function dahui(){
			alert(1)
		}
	</script>
    <div class="alreadyplanbox">
       <div class="topbox">
           <div class="sousuobox">
                 <input type="text" id="dnyitongguo_kuang" style="width:180px;height:30px;font-size:20px;">
                 <input type="button" id="dnyitouguo_anniu" value="搜索" class="sousuoan">
              
           </div>
       </div>
       <div class="biaobox">
           <table id="dnyitongguo" class="easyui-datagrid"
            data-options="width:1000,fitColumns:true,height:500">
            </table>
       </div>
    </div>
</body>
</html>